package com.xbongbong.pro.detailtab.pojo.team;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author: 汪腾伟
 * @date: Created in 2021/12/23 17:00
 * @description： 共享模式下用户权限返回实体
 */

@Getter
@Setter
public class ShareUserPermissionPojo {

    /**
     * 是否能新增负责人
     */
    private Boolean mainAdd;

    /**
     * 是否能删除负责人
     */
    private Boolean mainDel;

    /**
     * 是否能新增协同人
     */
    private Boolean coAdd;

    /**
     * 是否能删除协同人
     */
    private Boolean coDel;

    /**
     * 是否能编辑标签
     */
    private Boolean editLabel;

    /**
     * 协同人是否能编辑表单权限
     */
    private Boolean editCoFormPermission;

    /**
     * 负责人移交
     */
    private Boolean changeMain;

    public ShareUserPermissionPojo() {

    }

    public ShareUserPermissionPojo(boolean mainAdd, boolean mainDel, boolean coAdd, boolean coDel, boolean editLabel,
                                   boolean editCoFormPermission, boolean changeMain) {
        this.mainAdd = mainAdd;
        this.mainDel = mainDel;
        this.coAdd = coAdd;
        this.coDel = coDel;
        this.editLabel = editLabel;
        this.editCoFormPermission = editCoFormPermission;
        this.editCoFormPermission = editCoFormPermission;
        this.changeMain = changeMain;
    }
}
